import { createApp } from 'vue';
import { createPinia } from 'pinia';
import App from './App.vue';
import router from './router';
import i18n from './i18n';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import 'vant/es/toast/style';
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
const app = createApp(App);


app.use(pinia);
app.use(router);
app.use(i18n);
app.mount('#app');